< previous page page_32 next page >

Page 32
12181-0032a.gif
Figure 1.19.
The ImageCombo control,
showing the list portion
with images, gives the user a
way of visually distinguishing
between list items.
Using the ImageCombo control allows you to present the user with a selection list that contains images that help to distinguish the different list items for the user.
The Two FlexGrids
Most information that's processed with computer programs is displayed in columns and rows. The most common example of such a program is Microsoft Excel, a spreadsheet application. Because the spreadsheet is one of the most successful PC programs and, with the word processor, is one of the most widely used programs in the world, it's safe to say that people have become very comfortable seeing data displayed in rows and columns. In fact, for most people, this is the preferred method of viewing any information. Figure 1.20 shows a typical view of data in a spreadsheet-type table.
Visual Basic now has several different controls for working with data in a row and column format, which include the DBGrid or DataGrid for displaying and editing the contents of a database, the MSFlexGrid for handling most other grid display needs, and the new MSHFlexGrid for displaying multiple Table queries in a hierarchical format.
Note
Both MSFlexGrid and MSHFlexGrid can be bound to a data control to display data from a database. However, the data is read-only and can't be changed as it can when using the DBGrid or Datagrid controls.

 
< previous page page_32 next page >

If you like this book, buy it!